package models;

import play.db.jpa.Model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Дисциплина
 *
 * User: Администратор
 * Date: 11.06.12
 * Time: 16:08
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "disciplines")
public class Discipline extends Model {

    @Column(length = 512)
    public String name;

    public Discipline(String name) {
        this.name = name;
    }

}
